package com.tinyideatech.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tinyideatech.system.entity.CarCode;
import com.tinyideatech.system.entity.CarDevice;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author zhangy-5
 * @date 2019-09-09
 */
@Repository
public interface CarDeviceMapper extends BaseMapper<CarDevice> {

    @Select("SELECT * FROM car_device WHERE device_id=#{id}")
    CarDevice selectAllById(String id);
}